<p class="note">
	Please fill in the form below to complete your booking. 
	<br/><br/>
	Because we will need to confirm your booking via e-mail it is important 
	that you supply an active and correct e-mailaddress.
</p>
<% #form_tag( {:action => 'create'}, {:onSubmit => "return validateEmail($('booking_email_address'))"} ) do %>
<% form_for :booking, :url => {:action => 'create'} do |f| -%>
	
  	<%= error_messages_for :booking %>

	<!--[form:booking]-->
	<label for="name">Your Name</label> and <label for="email">E-mail address:</label><br />
	<%= f.text_field :name, :size => 20 -%> 
	<%= f.text_field :email_address, :size => 20  -%><br/><br/>

	<label for="arrival_date">When do you will arrive? </label><br/>
	<%= f.date_picker_field :arrival_date %><br/><br/>

	<label for="arrival_time">What time do you think you will arrive?</label><br/>
	<%= f.text_field :arrival_time, :size => 10  -%><br/><br/>

	<label for="number_of_nights">How many nights would you like to stay?</label> <br/>
	<%= f.number_field :number_of_nights, :size => 4  -%><br/><br/>

	<label for="number_of_guests">With how many people are you?</label> <br/>
	<%= f.number_field :number_of_guests, :size => 4  -%><br/><br/>

	<label for="pickup_service">We can pickup you up in either Lembar or Mataram. <br/>Would you like this?</label> <br/>
	<%= f.values_toggle(:pickup_service, :values => ['Yes', 'No']) %><br/><br/>
	
	<label for="pickup_location">When yes, Where?</label> <br/>
	<%= f.drop_down(:pickup_location, {:value => @booking.pickup_location, :values => ['', 'Lembar', 'Mataram'], :labels => ['--', 'Lembar', 'Mataram'] }) %><br/><br/>

	<p><label for="comment">Any extra comments:</label><br/>
	<%= f.text_area :comment, :cols => 45, :rows => 15   %></p>
	
	<%= submit_tag "Complete" %>
	
<% end %>